﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Administration/Admin.master" AutoEventWireup="true" CodeFile="Backup.aspx.cs" Inherits="Administration_Backup" %>

<asp:Content ID="Content1" ContentPlaceHolderID="mainContent" Runat="Server">

  
    <asp:Literal ID="label1" runat="server" />
    <h3><img src="Resources/Images/Icons/database_add_48.png" alt="" /> <asp:Localize runat="server" ID="Localize1" Text="<%$ Resources:stringsRes, pge_adm_CreateBackup %>" /></h3>
    <p><asp:Localize runat="server" ID="locDesc" Text="<%$ Resources:stringsRes, pge_adm_BackupDesc %>" /></p>
    <br />
    <asp:Button ID="Button1" runat="server" Text="<%$ Resources:stringsRes, pge_adm_CreateBackup %>" CssClass="button" OnClick="Button1_Click" /><br /><br />
    <br /><br />
    <b><asp:Localize runat="server" ID="Localize2" Text="<%$ Resources:stringsRes, pge_adm_BackupPasswordProtect %>" /></b>
    <br />
    <asp:TextBox ID="txtPassword" CssClass="text-input small-input" runat="server"></asp:TextBox>
    <br />
    <br />
    <asp:Literal ID="fileList" runat="server"></asp:Literal>
    
        <asp:GridView DataKeyNames="Name" CssClass="admTable" runat="server" OnRowCommand="gwItem_RowCommand" ID="gwFiles" AutoGenerateColumns="false">
            <Columns>
                <asp:TemplateField HeaderText="Download">
                    <ItemTemplate>
                        <a href="handlers/Attachements.ashx?file=<%#Eval("Name") %>"><%#Eval("Name")%></a>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:ButtonField ButtonType="Link" CommandName="delete_item" ItemStyle-Width="20px" ControlStyle-CssClass="btnDelete"  />
            </Columns>
        </asp:GridView>

</asp:Content>

